﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200029D RID: 669
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueQuitScRsp : IMessage<ChessRogueQuitScRsp>, IMessage, IEquatable<ChessRogueQuitScRsp>, IDeepCloneable<ChessRogueQuitScRsp>, IBufferMessage
	{
		// Token: 0x170008B1 RID: 2225
		// (get) Token: 0x06001DE8 RID: 7656 RVA: 0x000553AF File Offset: 0x000535AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueQuitScRsp> Parser
		{
			get
			{
				return ChessRogueQuitScRsp._parser;
			}
		}

		// Token: 0x170008B2 RID: 2226
		// (get) Token: 0x06001DE9 RID: 7657 RVA: 0x000553B6 File Offset: 0x000535B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueQuitScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170008B3 RID: 2227
		// (get) Token: 0x06001DEA RID: 7658 RVA: 0x000553C8 File Offset: 0x000535C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueQuitScRsp.Descriptor;
			}
		}

		// Token: 0x06001DEB RID: 7659 RVA: 0x000553CF File Offset: 0x000535CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitScRsp()
		{
		}

		// Token: 0x06001DEC RID: 7660 RVA: 0x000553D8 File Offset: 0x000535D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitScRsp(ChessRogueQuitScRsp other) : this()
		{
			this.stageInfo_ = ((other.stageInfo_ != null) ? other.stageInfo_.Clone() : null);
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this.finishInfo_ = ((other.finishInfo_ != null) ? other.finishInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.rogueGetInfo_ = ((other.rogueGetInfo_ != null) ? other.rogueGetInfo_.Clone() : null);
			this.info_ = ((other.info_ != null) ? other.info_.Clone() : null);
			this.rogueCurrentInfo_ = ((other.rogueCurrentInfo_ != null) ? other.rogueCurrentInfo_.Clone() : null);
			this.rogueAeonInfo_ = ((other.rogueAeonInfo_ != null) ? other.rogueAeonInfo_.Clone() : null);
			this.queryInfo_ = ((other.queryInfo_ != null) ? other.queryInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001DED RID: 7661 RVA: 0x000554E8 File Offset: 0x000536E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitScRsp Clone()
		{
			return new ChessRogueQuitScRsp(this);
		}

		// Token: 0x170008B4 RID: 2228
		// (get) Token: 0x06001DEE RID: 7662 RVA: 0x000554F0 File Offset: 0x000536F0
		// (set) Token: 0x06001DEF RID: 7663 RVA: 0x000554F8 File Offset: 0x000536F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueInfo StageInfo
		{
			get
			{
				return this.stageInfo_;
			}
			set
			{
				this.stageInfo_ = value;
			}
		}

		// Token: 0x170008B5 RID: 2229
		// (get) Token: 0x06001DF0 RID: 7664 RVA: 0x00055501 File Offset: 0x00053701
		// (set) Token: 0x06001DF1 RID: 7665 RVA: 0x00055509 File Offset: 0x00053709
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x170008B6 RID: 2230
		// (get) Token: 0x06001DF2 RID: 7666 RVA: 0x00055512 File Offset: 0x00053712
		// (set) Token: 0x06001DF3 RID: 7667 RVA: 0x0005551A File Offset: 0x0005371A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueFinishInfo FinishInfo
		{
			get
			{
				return this.finishInfo_;
			}
			set
			{
				this.finishInfo_ = value;
			}
		}

		// Token: 0x170008B7 RID: 2231
		// (get) Token: 0x06001DF4 RID: 7668 RVA: 0x00055523 File Offset: 0x00053723
		// (set) Token: 0x06001DF5 RID: 7669 RVA: 0x0005552B File Offset: 0x0005372B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170008B8 RID: 2232
		// (get) Token: 0x06001DF6 RID: 7670 RVA: 0x00055534 File Offset: 0x00053734
		// (set) Token: 0x06001DF7 RID: 7671 RVA: 0x0005553C File Offset: 0x0005373C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGetInfo RogueGetInfo
		{
			get
			{
				return this.rogueGetInfo_;
			}
			set
			{
				this.rogueGetInfo_ = value;
			}
		}

		// Token: 0x170008B9 RID: 2233
		// (get) Token: 0x06001DF8 RID: 7672 RVA: 0x00055545 File Offset: 0x00053745
		// (set) Token: 0x06001DF9 RID: 7673 RVA: 0x0005554D File Offset: 0x0005374D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueGameInfo Info
		{
			get
			{
				return this.info_;
			}
			set
			{
				this.info_ = value;
			}
		}

		// Token: 0x170008BA RID: 2234
		// (get) Token: 0x06001DFA RID: 7674 RVA: 0x00055556 File Offset: 0x00053756
		// (set) Token: 0x06001DFB RID: 7675 RVA: 0x0005555E File Offset: 0x0005375E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueCurrentInfo RogueCurrentInfo
		{
			get
			{
				return this.rogueCurrentInfo_;
			}
			set
			{
				this.rogueCurrentInfo_ = value;
			}
		}

		// Token: 0x170008BB RID: 2235
		// (get) Token: 0x06001DFC RID: 7676 RVA: 0x00055567 File Offset: 0x00053767
		// (set) Token: 0x06001DFD RID: 7677 RVA: 0x0005556F File Offset: 0x0005376F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueAeonInfo RogueAeonInfo
		{
			get
			{
				return this.rogueAeonInfo_;
			}
			set
			{
				this.rogueAeonInfo_ = value;
			}
		}

		// Token: 0x170008BC RID: 2236
		// (get) Token: 0x06001DFE RID: 7678 RVA: 0x00055578 File Offset: 0x00053778
		// (set) Token: 0x06001DFF RID: 7679 RVA: 0x00055580 File Offset: 0x00053780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryInfo QueryInfo
		{
			get
			{
				return this.queryInfo_;
			}
			set
			{
				this.queryInfo_ = value;
			}
		}

		// Token: 0x06001E00 RID: 7680 RVA: 0x00055589 File Offset: 0x00053789
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueQuitScRsp);
		}

		// Token: 0x06001E01 RID: 7681 RVA: 0x00055598 File Offset: 0x00053798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueQuitScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.StageInfo, other.StageInfo) && object.Equals(this.LevelInfo, other.LevelInfo) && object.Equals(this.FinishInfo, other.FinishInfo) && this.Retcode == other.Retcode && object.Equals(this.RogueGetInfo, other.RogueGetInfo) && object.Equals(this.Info, other.Info) && object.Equals(this.RogueCurrentInfo, other.RogueCurrentInfo) && object.Equals(this.RogueAeonInfo, other.RogueAeonInfo) && object.Equals(this.QueryInfo, other.QueryInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001E02 RID: 7682 RVA: 0x0005567C File Offset: 0x0005387C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.stageInfo_ != null)
			{
				num ^= this.StageInfo.GetHashCode();
			}
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this.finishInfo_ != null)
			{
				num ^= this.FinishInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueGetInfo_ != null)
			{
				num ^= this.RogueGetInfo.GetHashCode();
			}
			if (this.info_ != null)
			{
				num ^= this.Info.GetHashCode();
			}
			if (this.rogueCurrentInfo_ != null)
			{
				num ^= this.RogueCurrentInfo.GetHashCode();
			}
			if (this.rogueAeonInfo_ != null)
			{
				num ^= this.RogueAeonInfo.GetHashCode();
			}
			if (this.queryInfo_ != null)
			{
				num ^= this.QueryInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001E03 RID: 7683 RVA: 0x0005576B File Offset: 0x0005396B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001E04 RID: 7684 RVA: 0x00055773 File Offset: 0x00053973
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001E05 RID: 7685 RVA: 0x0005577C File Offset: 0x0005397C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.finishInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.FinishInfo);
			}
			if (this.stageInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.StageInfo);
			}
			if (this.info_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.Info);
			}
			if (this.queryInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.QueryInfo);
			}
			if (this.rogueCurrentInfo_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.RogueCurrentInfo);
			}
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.LevelInfo);
			}
			if (this.rogueAeonInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.RogueAeonInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueGetInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueGetInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001E06 RID: 7686 RVA: 0x0005589C File Offset: 0x00053A9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.stageInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.StageInfo);
			}
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this.finishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FinishInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueGetInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueGetInfo);
			}
			if (this.info_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Info);
			}
			if (this.rogueCurrentInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueCurrentInfo);
			}
			if (this.rogueAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAeonInfo);
			}
			if (this.queryInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.QueryInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001E07 RID: 7687 RVA: 0x0005599C File Offset: 0x00053B9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueQuitScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.stageInfo_ != null)
			{
				if (this.stageInfo_ == null)
				{
					this.StageInfo = new ChessRogueInfo();
				}
				this.StageInfo.MergeFrom(other.StageInfo);
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new ChessRogueLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			if (other.finishInfo_ != null)
			{
				if (this.finishInfo_ == null)
				{
					this.FinishInfo = new ChessRogueFinishInfo();
				}
				this.FinishInfo.MergeFrom(other.FinishInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueGetInfo_ != null)
			{
				if (this.rogueGetInfo_ == null)
				{
					this.RogueGetInfo = new ChessRogueGetInfo();
				}
				this.RogueGetInfo.MergeFrom(other.RogueGetInfo);
			}
			if (other.info_ != null)
			{
				if (this.info_ == null)
				{
					this.Info = new ChessRogueGameInfo();
				}
				this.Info.MergeFrom(other.Info);
			}
			if (other.rogueCurrentInfo_ != null)
			{
				if (this.rogueCurrentInfo_ == null)
				{
					this.RogueCurrentInfo = new ChessRogueCurrentInfo();
				}
				this.RogueCurrentInfo.MergeFrom(other.RogueCurrentInfo);
			}
			if (other.rogueAeonInfo_ != null)
			{
				if (this.rogueAeonInfo_ == null)
				{
					this.RogueAeonInfo = new ChessRogueAeonInfo();
				}
				this.RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
			}
			if (other.queryInfo_ != null)
			{
				if (this.queryInfo_ == null)
				{
					this.QueryInfo = new ChessRogueQueryInfo();
				}
				this.QueryInfo.MergeFrom(other.QueryInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001E08 RID: 7688 RVA: 0x00055B38 File Offset: 0x00053D38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001E09 RID: 7689 RVA: 0x00055B44 File Offset: 0x00053D44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num <= 18U)
					{
						if (num == 10U)
						{
							if (this.finishInfo_ == null)
							{
								this.FinishInfo = new ChessRogueFinishInfo();
							}
							input.ReadMessage(this.FinishInfo);
							continue;
						}
						if (num == 18U)
						{
							if (this.stageInfo_ == null)
							{
								this.StageInfo = new ChessRogueInfo();
							}
							input.ReadMessage(this.StageInfo);
							continue;
						}
					}
					else
					{
						if (num == 66U)
						{
							if (this.info_ == null)
							{
								this.Info = new ChessRogueGameInfo();
							}
							input.ReadMessage(this.Info);
							continue;
						}
						if (num == 74U)
						{
							if (this.queryInfo_ == null)
							{
								this.QueryInfo = new ChessRogueQueryInfo();
							}
							input.ReadMessage(this.QueryInfo);
							continue;
						}
					}
				}
				else if (num <= 98U)
				{
					if (num == 90U)
					{
						if (this.rogueCurrentInfo_ == null)
						{
							this.RogueCurrentInfo = new ChessRogueCurrentInfo();
						}
						input.ReadMessage(this.RogueCurrentInfo);
						continue;
					}
					if (num == 98U)
					{
						if (this.levelInfo_ == null)
						{
							this.LevelInfo = new ChessRogueLevelInfo();
						}
						input.ReadMessage(this.LevelInfo);
						continue;
					}
				}
				else
				{
					if (num == 106U)
					{
						if (this.rogueAeonInfo_ == null)
						{
							this.RogueAeonInfo = new ChessRogueAeonInfo();
						}
						input.ReadMessage(this.RogueAeonInfo);
						continue;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						if (this.rogueGetInfo_ == null)
						{
							this.RogueGetInfo = new ChessRogueGetInfo();
						}
						input.ReadMessage(this.RogueGetInfo);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000C57 RID: 3159
		private static readonly MessageParser<ChessRogueQuitScRsp> _parser = new MessageParser<ChessRogueQuitScRsp>(() => new ChessRogueQuitScRsp());

		// Token: 0x04000C58 RID: 3160
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000C59 RID: 3161
		public const int StageInfoFieldNumber = 2;

		// Token: 0x04000C5A RID: 3162
		private ChessRogueInfo stageInfo_;

		// Token: 0x04000C5B RID: 3163
		public const int LevelInfoFieldNumber = 12;

		// Token: 0x04000C5C RID: 3164
		private ChessRogueLevelInfo levelInfo_;

		// Token: 0x04000C5D RID: 3165
		public const int FinishInfoFieldNumber = 1;

		// Token: 0x04000C5E RID: 3166
		private ChessRogueFinishInfo finishInfo_;

		// Token: 0x04000C5F RID: 3167
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04000C60 RID: 3168
		private uint retcode_;

		// Token: 0x04000C61 RID: 3169
		public const int RogueGetInfoFieldNumber = 15;

		// Token: 0x04000C62 RID: 3170
		private ChessRogueGetInfo rogueGetInfo_;

		// Token: 0x04000C63 RID: 3171
		public const int InfoFieldNumber = 8;

		// Token: 0x04000C64 RID: 3172
		private ChessRogueGameInfo info_;

		// Token: 0x04000C65 RID: 3173
		public const int RogueCurrentInfoFieldNumber = 11;

		// Token: 0x04000C66 RID: 3174
		private ChessRogueCurrentInfo rogueCurrentInfo_;

		// Token: 0x04000C67 RID: 3175
		public const int RogueAeonInfoFieldNumber = 13;

		// Token: 0x04000C68 RID: 3176
		private ChessRogueAeonInfo rogueAeonInfo_;

		// Token: 0x04000C69 RID: 3177
		public const int QueryInfoFieldNumber = 9;

		// Token: 0x04000C6A RID: 3178
		private ChessRogueQueryInfo queryInfo_;
	}
}
